dreamweaver.canRevertDocument()

Availability 3.0
Description Checks whether Dreamweaver can perform a Revert (to the last-saved version) operation.
Arguments documentObject
The argument is the object at the root of a document's DOM tree (the value returned by dreamweaver.getDocumentDOM()).
Returns A Boolean value indicating whether the document is in an unsaved state and a saved version of the document exists on a local drive.